package com.mybatis3.demo.mapper;

import java.util.List;
import java.util.Map;

import com.mybatis3.demo.pojo.UserEntity;

public interface UserMapper {
	public void addUser(UserEntity entity);
	public void deleteUser(UserEntity entity);
	public void updateUser(UserEntity entity);
	public UserEntity findUserByEmail(String email);
	public UserEntity findUserByEmailAndPass(Map<String, Object> params);
	public List<UserEntity> findUsers();
	public UserEntity findByContions(UserEntity entity);
}
